package com.dzu.gulimall.order.feign;

import com.dzu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author ZhaoDong
 * @date 2022/8/18 16:54
 * @description gulimall
 */
@FeignClient("gulimall-product")
public interface ProductFeignService {

    @GetMapping("product/spuinfo/skuId/{id}")
     R getSpuInfoBySkuId(@PathVariable("id") Long skuId);
}
